﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace StringNameUse
{
    class Program
    {
        static void Main(string[] args)
        {
            int[] a = new int[5];
            Console.WriteLine("输入5个数字");
             for(int i=0; i < a.Length; i++)
            {
                a[i] = int.Parse(Console.ReadLine());
            }
            int max = a[0];
            for(int i = 1; i < a.Length; i++)
            {
                if (a[i] > max)
                {
                    max = a[i];
                }
            
            }
            Console.WriteLine("最大值是" + max);
        }
    }
}
